package com.jintoufs.dao.hotel;

import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.hotel.HotelOrder;

import java.util.List;
import java.util.Map;

public interface HotelOrderMapper {
    int deleteByPrimaryKey(String id);

    int insert(HotelOrder record);

    int insertSelective(HotelOrder record);

    HotelOrder selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HotelOrder record);

    int updateByPrimaryKey(HotelOrder record);

    List<Map<String,Object>> getByParams(Map<String,Object> params);

    List<Map<String, Object>> queryByParams(Map<String, Object> params);

    List<Map<String, Object>> queryByFilters(QueryFilters filters);

    List<String> orderIndex(Map<String,Object> param);
    List<String> orderPriceIndex(Map<String,Object> param);
    List<String> orderDateIndex(Map<String,Object> param);
    Map getOrderPriceAndCostByOrderId(String orderId);

    List<Map<String,Object>> getAllTypeOrderCustomerInfoDetail(Map params);

    List<HotelOrder> getNoConfirm(Map<String,Object> param);

    int upDateOrderByStatusAndUser(Map param);
    int updateOrderNew(Map param);
}